Release 10.1A: OpenEdge Development:
Web Services
Client interface methods for SubAppObjects and ProcObjects (session-managed and session-free)
You use the methods for ProcObjects and SubAppObjects in the same way regardless of the session model. The value for the
ProcObjectIDelement orSubAppObjectIDelement that you send in the SOAP request header for methods invoked on each object is initially returned in the SOAP response header of theCreatePO_ProcObjectmethod orCreateAO_SubAppObjectmethod that you called to instantiate the object.ProcObject methods
A ProcObject provides the following methods.
Use this method to terminate and remove the context of the persistent procedure that is managed by the ProcObject:
Once this method is executed, no other methods on the ProcObject can be called. The SOAP request header must contain the value of the
ProcObjectIDelement. If other objects (AppObject or SubAppObjects) are sharing the same connection, the connection does not terminate until you call the release method for all the objects sharing the connection.Call a
ProcNamemethod on the ProcObject to execute a corresponding internal procedure in the persistent procedure that is managed by the ProcObject:
The SOAP request header must contain the value of the
ProcObjectIDelement.Call a
FuncNamemethod on the ProcObject to execute a corresponding user-defined function in the persistent procedure that is managed by the ProcObject:
The SOAP request header must contain the value of the
ProcObjectIDelement.SubAppObject methods
A SubAppObject provides the following methods.
Use this method to release a SubAppObject:
Once this method is executed, no other methods on the SubAppObject can be called. The SOAP request header must contain the value of the
SubAppObjectIDelement. If other objects (AppObject or ProcObjects) are sharing the same connection, the connection does not terminate until you call the release method for all the objects sharing the connection.Use this method to create a ProcObject and call the corresponding persistent procedure:
This method must be executed before calling any other methods on the ProcObject. The SOAP request header must contain the value of the
SubAppObjectIDelement. The SOAP response header returned by this method contains aProcObjectIDelement whose value must be sent in the SOAP request header for all methods invoked on this ProcObject.Call a
ProcNamemethod on the SubAppObject to execute a corresponding non-persistent external procedure typically identified byProcName:
The SOAP request header must contain the value of the
SubAppObjectIDelement.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |